package com.owc.domain.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * @Author xiaom
 * @Date 2020/2/26 18:35
 * @Version 1.0.0
 * @Description <>
 **/
@Data
@ApiModel("公告DTO")
public class NoticeDTO implements Serializable {

    @ApiModelProperty("公告名称")
    private String title;

    @ApiModelProperty("公告内容")
    private String content;

    @ApiModelProperty("是否阅读 false(未阅读) true(已阅读)")
    private Boolean watch;

    @ApiModelProperty("公告ID")
    private Long id;

    @ApiModelProperty("发布时间")
    private String createTime;
}
